package com.imooc.springcloud;

import com.imooc.springcloud.hystrix.Fallback;
import org.springframework.cloud.openfeign.FeignClient;

/**
 * @describte:使用 @FeignClient 指定一个 FallBack类（服务降级类）
 * @program:spring-cloud-demo
 * @author:zhengdp
 * @create:2021-10-02 23:33:02
 **/
@FeignClient(name = "feign-client",
        fallback = Fallback.class)
public interface MyService extends IService{
}
